import { defineConfig } from 'vitepress';

// https://vitepress.dev/reference/site-config
export default defineConfig({
    title: '@lynn/vue3-ui',
    description: 'vue3 组件库',
    themeConfig: {
        // https://vitepress.dev/reference/default-theme-config
        nav: [
            { text: '首页', link: '/index' },
            { text: '组件', link: '/docs/components/button' }
        ],
        search: {
            provider: 'local'
        },
        sidebar: [
            {
                text: '快速了解',
                link: '/docs/start'
            },
            {
                text: 'Components',
                collapsed: true,
                items: [{ text: 'Button', link: '/docs/components/button' }]
            }
        ],

        socialLinks: [{ icon: 'github', link: 'https://gitee.com/web-script' }],
        footer: {
            message: '',
            copyright:
                'Copyright © 2025-present <a href="https://gitee.com/web-script">Orange Team</a>'
        }
    }
});
